//
//  Service.h
//  Listen Up
//
//  Created by Denis Demjanko on 01.06.12.
//  Copyright (c) 2012 it-dimension. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "RequestManager.h"
#import "JSONKit.h"

@interface Service : NSObject{
    
}

+(Service*)sharedManeger;

//new
-(void)getNewFacts:(int)fromFact_id withHandler:(RMResult)handler;

//top
-(void)getTopFacts:(RMResult)handler;

//likes
-(void)getFactInfo:(int)fact_id withHandler:(RMResult)handler;
-(void)addLike:(int)fact_id isLike:(int)isLike withHandler:(RMResult)handler;

//comments
-(void)sendComment:(int)fact_id comment:(NSString*)comment withHandler:(RMResult)handler;
-(void)getComments:(int)fact_id withHandler:(RMResult)handler;

@end
